#ifndef _INCLUDE_MY_EVENT_RECEIVER_
#define _INCLUDE_MY_EVENT_RECEIVER_

#include <irrlicht.h>

using namespace irr;
using namespace gui;

struct SAppContext
{
	IrrlichtDevice *device;
	bool quakecam;
};

class MyEventReceiver : public IEventReceiver
{
public:
	MyEventReceiver(SAppContext& ctx);
	bool OnEvent(const SEvent& event);
private:
	SAppContext& context;
};

enum 
{
	GUI_ID_COMPILE = 101,
};

#endif //_INCLUDE_MY_EVENT_RECEIVER_